package com.yijianonghu.controller.app.user;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.yijianonghu.util.Constants.AppConstants;
import com.yijianonghu.util.result.Result;

//TODO 用户访问记录，还不清楚具体实现逻辑，比如何时增加访问记录，存在哪里
@Controller
public class UserVisitRecord {

	
	/**
	 * [sys_web_service]access_history_clear
	 */
	@RequestMapping(value=AppConstants.APP_PREFIX+AppConstants.APP_GENERAL_VERSION_REGX+"/access_history_clear", method=RequestMethod.POST)
	public @ResponseBody Result clearAccessHistory(String token, Integer keytype){
		//TODO 不清楚逻辑,参数keytype类型不明确
		return null;
	}
	
	
	/**
	 * [sys_web_service]access_history_list
	 */
	@RequestMapping(value=AppConstants.APP_PREFIX+AppConstants.APP_GENERAL_VERSION_REGX+"/access_history_list", method=RequestMethod.POST)
	public @ResponseBody Result listAccessHistory(String token, Integer keytype, Double lng, Double lat, Integer page){
		//TODO 不清楚逻辑,参数类型不明确
		return null;
	}
}
